package com.nuts.order.bean.request;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.nuts.base.bean.request.BaseReqVO;

/**
 * <p>
 * 
 * </p>
 *
 * @author xuzihui
 * @since 2018-08-29
 */
@Getter
@Setter
@ToString
@ApiModel("")
public class OrderTReqVO extends BaseReqVO {


    @ApiModelProperty("用户id")
	private Integer userId;

    @ApiModelProperty("交易所订单id")
	private Integer orderId;

    @ApiModelProperty("交易对")
	private String symbol;

    @ApiModelProperty("交易所")
	private String exchangeId;

    @ApiModelProperty("订单类型")
	private String type;

    @ApiModelProperty("买卖类型")
	private String side;

    @ApiModelProperty("委托数量")
	private BigDecimal amount;

    @ApiModelProperty("委托价格")
	private BigDecimal price;

    @ApiModelProperty("已成交数量")
	private BigDecimal filledAmount;

    @ApiModelProperty("已成交手续费")
	private BigDecimal filledFees;

    @ApiModelProperty("成交均价")
	private BigDecimal avgPrice;

    @ApiModelProperty("订单状态")
	private String status;

    @ApiModelProperty("交易所创建时间")
	private Date exchangeCreateTime;


}
